body {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)
        ),
        url(../../assets/fondo.jpg);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
}

.container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mainTitle {
    font-size: clamp(36px, 10vw, 72px);
    color: #00DDFF;
    font-family: fantasy;
    margin-bottom: 40px;
    position: relative;
    text-shadow: 0 0 10px rgba(0, 221, 255, 0.5);
}

.mainTitle::before {
    content: "CONTROLES";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(1.1);
    filter: blur(30px);
    z-index: -1;
    width: 100%;
    opacity: 0.7;
}

.controls-list {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
}

.control-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 15px;
    border-left: 3px solid #00DDFF;
}

.key {
    min-width: 150px;
    padding: 10px;
    background: linear-gradient(150deg, #9500ff, #09f, #00DDFF);
    border-radius: 5px;
    font-weight: bold;
    margin-right: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 221, 255, 0.5);
    font-size: 1.2em; /* Aumenta un poco el tamaño de las flechas */
    letter-spacing: 2px; /* Espaciado entre flechas */
    text-shadow: 
        0 0 1px currentColor,
        0 0 1px currentColor,
        0 0 1px currentColor;
}

.description {
    text-align: left;
    color: white;
    flex-grow: 1;
}

.description div {
    margin-top: 5px;
}

.back-button {
    text-decoration: none;
    width: 100%;
    max-width: 300px;
}

button {
    width: 100%;
    height: 50px;
    border: 0;
    background-image: linear-gradient(
        150deg,
        #9500ff,
        #09f,
        #00DDFF
    );
    border-radius: 8px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

button span {
    background-color: #111;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    transition: 0.3s;
}

button:hover span {
    background: none;
}

button:active {
    transform: scale(0.95);
}

@media (max-width: 600px) {
    .control-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .key {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .mainTitle {
        margin-bottom: 30px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 15px;
    }
    
    .mainTitle {
        margin-bottom: 25px;
    }
    
    .key {
        letter-spacing: 1px;
        font-size: 1.1em;
    }
    
    .description {
        font-size: 0.9rem;
    }
}
